package net.toocruel.iqismart.entity.user;

import net.toocruel.iqismart.entity.base.BaseEntity;

import javax.persistence.Entity;
import java.util.Date;

/**
 * @Description
 * @Auther sty
 * @createTime 2018/5/8 上午11:35
 */
@Entity
public class UserData extends BaseEntity {
    private static final long serialVersionUID = -84563901810621800L;
    private int coin;
    private int credit;
    private Date lastVisit;
    private String lastLoginIp;
    private double adoptPercent;

    private Boolean emailVerified = false;
    private Boolean mobileVerified = false;
    private Boolean authenticationVerified = false;

    public UserData() {
    }

    public static long getSerialVersionUID() {

        return serialVersionUID;
    }

    public double getAdoptPercent() {
        return adoptPercent;
    }

    public void setAdoptPercent(double adoptPercent) {
        this.adoptPercent = adoptPercent;
    }

    public int getCoin() {
        return coin;
    }

    public void setCoin(int coin) {
        this.coin = coin;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }

    public Date getLastVisit() {
        return lastVisit;
    }

    public void setLastVisit(Date lastVisit) {
        this.lastVisit = lastVisit;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public Boolean getEmailVerified() {
        return emailVerified;
    }

    public void setEmailVerified(Boolean emailVerified) {
        this.emailVerified = emailVerified;
    }

    public Boolean getMobileVerified() {
        return mobileVerified;
    }

    public void setMobileVerified(Boolean mobileVerified) {
        this.mobileVerified = mobileVerified;
    }

    public Boolean getAuthenticationVerified() {
        return authenticationVerified;
    }

    public void setAuthenticationVerified(Boolean authenticationVerified) {
        this.authenticationVerified = authenticationVerified;
    }
}
